<include file="header" />
<div class="wraper" js="">

    <if condition = "$flag eq 1">
        <div class="head clearfix">
            <a href="/base/quilt/index/conf_id/{BEESCRM:$conf_id}" class="iconfont icon-zuo pull-left"></a>
            <span class="head-name pull-left">订单详情</span>
            <a href="/base/quilt/index/conf_id/{BEESCRM:$conf_id}" class="pull-left text-right"></a>
        </div>
        <else/>
        <div class="head clearfix">
            <a href="javascript:history.back(-1)" class="iconfont icon-zuo pull-left"></a>
            <span class="head-name pull-left">订单详情</span>
            <a href="javascript:history.back(-1)" class="pull-left text-right"></a>
        </div>
    </if>

	<div class="lists noblocktop">
		<p><span class="text-grey">{BEESCRM:$data.goods_name}</span>
            <if condition = "$data.status eq 1">
			    <span class="text-green pull-right">已支付</span>
		        <elseif condition = "$data.status eq 2"/>
                    <span class="text-blue pull-right">已领取</span>
            </if>
        </p>
	</div>

	<if condition = "$data.status eq 1">
		<div class="qrcode-box">
			<img class="qrcode" src="{BEESCRM::U('Base/quilt/qrcode',array('conf_id' => $conf_id,'order_id' => $data['order_id']))}"/>
			<p class="text-center text-grey text-12">床品领取凭证</p>
		</div>
	</if>
	<div class="lists">
		<div class="text-12 list-line flex-box">
			<div class="img-box">
				<img src="{BEESCRM:$data.goods_img}"/>
			</div>
			<div class="flex-auto">
				<p>{BEESCRM:$data.goods_name}</p>
				<p class="text-12 text-grey">{BEESCRM:$data.goods_desc}</p>
				<p><span class="text-12 text-red">￥</span><span class="text-16 text-red">{BEESCRM:$data.order_amount}</span>  <span class="pull-right">X <span class="text-16">1</span></span></p>
			</div>
		</div>
	</div>
	<div class="lists">
		<div class="list-line">买家信息</div>
		<div class="list-line text-12">
			<p class="lineheight25"><span class="text-grey">新生身份证</span><span class="pull-right">{BEESCRM:$data.id_card}</span></p>
			<p class="lineheight25"><span class="text-grey">新生姓名</span><span class="pull-right">{BEESCRM:$data.username}</span></p>
			<p class="lineheight25"><span class="text-grey">新生联系方式</span><span class="pull-right">{BEESCRM:$data.mobile}</span></p>
		</div>
	</div>
</div>
<include file="footer" />
